﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class LoaiHangXeBus
    {
        public IEnumerable<LOAIHANGXE> LoaiHangXe()
        {
            LoaiHangXeDao lhdao = new LoaiHangXeDao();
            return lhdao.LoaiHangXe();
        }
        public int LayMaLoaiHangXe(string TenHangXe)
        {
            LoaiHangXeDao lhdao = new LoaiHangXeDao();
            return lhdao.LayMaLoaiHangXe(TenHangXe);
        }
    }
}
